﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class en_mobile_Site : System.Web.UI.MasterPage
{
    private DBClass db = new DBClass();

    protected void Page_Load(object sender, EventArgs e)
    {
        LoadDataMenu();   
    }

    private void LoadDataMenu()
    {
        rptMenu.DataSource = db.GetAllType();
        rptMenu.DataBind();
    }
}
